package com.iplant.basic.service.po.update;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * App更新信息
 */
public class AppUpdateInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *平台
     */
    public String platform = "android";
    /**
     *更细内容
     */
    public String updateContent = "";
    /**
     *apk服务器下载地址
     */
    public String downUrl = "";
    /**
     *版本号
     */
    public String version = "";
    /**
     *是否强制更新
     */
    public boolean force = false;
    /**
     *主题颜色
     */
    public String mainColor = "FF5B78";

    @JsonProperty("platform")
    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    @JsonProperty("updateContent")
    public String getUpdateContent() {
        return updateContent;
    }

    public void setUpdateContent(String updateContent) {
        this.updateContent = updateContent;
    }

    @JsonProperty("downUrl")
    public String getDownUrl() {
        return downUrl;
    }

    public void setDownUrl(String downUrl) {
        this.downUrl = downUrl;
    }

    @JsonProperty("version")
    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @JsonProperty("force")
    public boolean isForce() {
        return force;
    }

    public void setForce(boolean force) {
        this.force = force;
    }

    @JsonProperty("mainColor")
    public String getMainColor() {
        return mainColor;
    }

    public void setMainColor(String mainColor) {
        this.mainColor = mainColor;
    }
}
